# -*- coding: utf-8 -*-

# Copyright (c) JoinQuant Development Team
# Author: Huayong Kuang <kuanghuayong@joinquant.com>

import six

class PType(type):

    def __getattr__(cls, name):
        print("------ get", name)
        return 111



@six.add_metaclass(PType)
class Obj(object):

    pass




print(Obj.a, Obj.b, Obj.c)
